<?php
/*
 * 购物车
 */
namespace app\home\controller;

use app\common\controller\IndexBase;
use think\facade\Session;
use think\facade\Db;
use app\common\model\System;
use app\common\model\Wechat;

class Flow extends IndexBase
{

    protected function initialize()
    {
        parent::initialize();
        $this->app = Wechat::wechat();
    }

    //首页
    public function index()
    {
    	$info = [];
        in_wechat() && $info = $this->app->jssdk->getConfigArray(['checkJsApi','scanQRCode']);//微信扫一扫配置
        return $this->fetch('',['info'=>$info]);
    }



}